/**
 * Created by a1 on 16/9/26.
 */
// Initialize your app
var myApp = new Framework7();

// Export selectors engine
var $$ = Dom7;

// Add view
var mainView = myApp.addView('.view-main', {
    // Because we use fixed-through navbar we can enable dynamic navbar
    dynamicNavbar: true
});

$$(document).on('pageInit', function (e) {
    console.log("init")
    // Do something here when page with data-page="about" attribute loaded and initialized
    $$('#button').on('click', function () {
        console.log("click")
    });
})

function onClicked() {
    console.log("onclicked")
}